import java.util.Scanner;

public class Shopping {
    public static void main(String[] args) {
     Scanner input=new Scanner(System.in);
     System.out.println("请输入价格：");
     double a= input.nextDouble();
     System.out.println("亲，包邮吗？");
     Scanner sc =new Scanner(System.in);
     String b=sc.nextLine();
     if("yes".equals(b)) {
         System.out.println("购物价格为："+a);
     }else if("no".equals(b)){
         System.out.println("购物价格为:"+(a+20));
     }
    }
}
